package org.xlx.xlx_oa.role_user.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.xlx.xlx_oa.common.BaseEntity;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "SysControl对象", description = "")
public class SysControl extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "控件id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "控件名称")
    private String controlName;

    @ApiModelProperty(value = "控件编号")
    private String controlCode;

    @ApiModelProperty(value = "控件url")
    private String controlUrl;

    @ApiModelProperty(value = "控件图标")
    private String controlIcon;

    @ApiModelProperty(value = "控件描述")
    private String remarks;

    @ApiModelProperty(value = "所属模块id")
    private Long parentId;
}
